/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package eu.games.esmi.ieat.indicatorvalues;

import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Layout;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.VerticalLayout;
import com.vaadin.ui.themes.Reindeer;

/**
 *
 * @author user
 */
public class MainIndicatorValues extends VerticalLayout {
    
    TabSheet tabs = new TabSheet();
    IndicatorAnalysisTab iaTab = new IndicatorAnalysisTab();
    SystemAnalysisTab saTab = new SystemAnalysisTab();
    ApplicationAnalysisTab aaTab = new ApplicationAnalysisTab();
    
    public MainIndicatorValues() {
        super();
        
        this.setStyleName("mainpanel");
        
        this.setMargin(true);
        this.setSizeFull();
        init();
    }
    
    public void init() {
        
        tabs.setStyleName(Reindeer.TABSHEET_MINIMAL);

        tabs.addTab(iaTab, "Indicator analysis", null);
        tabs.addTab(saTab, "System analysis", null);
        tabs.addTab(aaTab, "Application analysis", null);
        tabs.setSizeFull();
        
        this.addComponent(tabs);
        
        this.setExpandRatio(tabs, 1.0f);
        
        
    }

 
    
}
